﻿using IntelligentAgriculture.Contracts.Dto.Output;
using IntelligentAgriculture.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntelligentAgriculture.Contracts.Interface
{
    public interface IParturitionService
    {
        /// <summary>
        /// 种母分娩列表
        /// </summary>
        /// <param name="startChildbirthDate"></param>
        /// <param name="endChildbirthDate"></param>
        /// <param name="eartag"></param>
        /// <param name="buildingId"></param>
        /// <param name="toBuildingId"></param>
        /// <param name="broodNumber"></param>
        /// <param name="userId"></param>
        /// <param name=""></param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        Task<PageOutput<ParturitionOutput>> GetParturition(string? startChildbirthDate, string? endChildbirthDate, string? eartag, int? buildingId, int? toBuildingId, string? broodNumber, int? userId, int pageIndex, int pageSize);
        /// <summary>
        /// 种母分娩添加
        /// </summary>
        /// <param name="sheeppregnancy"></param>
        /// <returns></returns>
        Task<int> AddChildbirth(List<Childbirth> childbirth);
        /// <summary>
        /// 种母分娩删除
        /// </summary>
        /// <param name="pregnancyId"></param>
        /// <returns></returns>
        Task<int> DeleParturition(string? eartag);
    }
}
